package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 投诉处理对象 complaints
 * 
 * @author zyq
 * @date 2024-06-29
 */
public class Complaints extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 投诉id */
    private Long complaintsId;

    /** 用户身份 */
    @Excel(name = "用户身份")
    private String userRole;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 投诉主题 */
    @Excel(name = "投诉主题")
    private String topic;

    /** 回馈电话 */
    @Excel(name = "回馈电话")
    private String phone;

    /** 回馈邮箱 */
    @Excel(name = "回馈邮箱")
    private String email;

    /** 被投诉身份 */
    @Excel(name = "被投诉身份")
    private String beiUserRole;

    /** 被投诉id */
    @Excel(name = "被投诉id")
    private Long beiUserId;

    /** 投诉内容 */
    @Excel(name = "投诉内容")
    private String cotent;

    /** 投诉状态 */
    @Excel(name = "投诉状态")
    private String status;

    public void setComplaintsId(Long complaintsId) 
    {
        this.complaintsId = complaintsId;
    }

    public Long getComplaintsId() 
    {
        return complaintsId;
    }
    public void setUserRole(String userRole) 
    {
        this.userRole = userRole;
    }

    public String getUserRole() 
    {
        return userRole;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setTopic(String topic) 
    {
        this.topic = topic;
    }

    public String getTopic() 
    {
        return topic;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }
    public void setBeiUserRole(String beiUserRole) 
    {
        this.beiUserRole = beiUserRole;
    }

    public String getBeiUserRole() 
    {
        return beiUserRole;
    }
    public void setBeiUserId(Long beiUserId) 
    {
        this.beiUserId = beiUserId;
    }

    public Long getBeiUserId() 
    {
        return beiUserId;
    }
    public void setCotent(String cotent) 
    {
        this.cotent = cotent;
    }

    public String getCotent() 
    {
        return cotent;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("complaintsId", getComplaintsId())
            .append("userRole", getUserRole())
            .append("userId", getUserId())
            .append("topic", getTopic())
            .append("phone", getPhone())
            .append("email", getEmail())
            .append("beiUserRole", getBeiUserRole())
            .append("beiUserId", getBeiUserId())
            .append("cotent", getCotent())
            .append("status", getStatus())
            .toString();
    }
}
